package com.lx.service;

import com.lx.bean.ForumBody;
import com.lx.dao.ForumBodyMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ForumBodyService {
    @Autowired
    ForumBodyMapper forumBodyMapper;


    public List<ForumBody> selectForumById(Integer fId) {
        //System.out.println(fId+"ddddddddddddddd");
        return forumBodyMapper.selectByFid(fId);
    }

}
